package cn.wolfcode.wolf2w.destination.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 * 区域表
 * </p>
 *
 * @author hyz
 * @since 2024-07-23
 */
public class TaRegion implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 中文名称
     */
    private String name;

    /**
     * 编码
     */
    private String sn;

    /**
     * 是否热门，0非热门，1:热门
     */
    private Integer ishot;

    /**
     * 展示顺序
     */
    private Integer seq;

    /**
     * 介绍
     */
    private String info;

    /**
     * 关联id集合
     */
    private String refIds;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public Integer getIshot() {
        return ishot;
    }

    public void setIshot(Integer ishot) {
        this.ishot = ishot;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getRefIds() {
        return refIds;
    }

    public void setRefIds(String refIds) {
        this.refIds = refIds;
    }

    @Override
    public String toString() {
        return "TaRegion{" +
        "id=" + id +
        ", name=" + name +
        ", sn=" + sn +
        ", ishot=" + ishot +
        ", seq=" + seq +
        ", info=" + info +
        ", refIds=" + refIds +
        "}";
    }
}
